﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KoSoft
{
	public partial class KoInfo
	{
		/* EmailPattern 
		 * --------------------------------------------------------------------------------------------- */
		public const string StrEmail = @"^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$";
		/* JS 
		 * --------------------------------------------------------------------------------------------- */
		public const string JsNoLink = "javascript:void(0);";
		/* Cookie 
		 * --------------------------------------------------------------------------------------------- */
		public const string CookieAdmin = "Admin";
		public const string CookieUser = "User";
		public const int CookieExpireShort = 1;
		public const int CookieExpireMiddle = 7;
		public const int CookieExpireLong = 30;
		/* Operation
		 * --------------------------------------------------------------------------------------------- */
		public const string OperateSuccess = "操作成功。";
		public const string OperateFailure = "操作失败。";
		/* Account
		 * --------------------------------------------------------------------------------------------- */
		public const string LoginEmpty = "账号/密码不能为空。";
		public const string LoginNoAccount = "账号不存在。";
		public const string LoginDismatch = "账号密码不匹配。";
		public const string RegisterExist = "账号以被注册。";
		public const string RegisterDismatch = "两次密码输入有误。";
		/* Validate 
		 * --------------------------------------------------------------------------------------------- */
		public const string ValidateEmpty = "验证码不能为空。";
		public const string ValidateError = "验证码错误。";
		/* Integers
		 * --------------------------------------------------------------------------------------------- */
	}
}
